<style>
    .goods-shop-type button{
        padding: 10px;
        border: none;
        font-size: 14px;
        color: #f63e2c;
    }
    .goods-shop-type .active-type{
        background-color: #f63e2c;
        color: #fff;
    }
    .btn-disabled {
        background-color: #cccccc; /* 浅灰色背景 */
        border-color: #cccccc; /* 灰色边框 */
        color: #666666; /* 灰色文字 */
    }

</style>
<div class="alert alert-success-light goods-shop-type">
    <button class="goods-shop-type-item" data-url="{:url('consumable/consumable/index')}">本店耗材</button>
	<button class="active-type goods-shop-type-item" data-url="{:url('consumable/consumable/topgoods')}">总部耗材</button>
</div>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            {foreach name="statusList" item="vo"}
            <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
            {/foreach}
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-del="{:$auth->check('consumable/consumable/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
